package com.letoken.platform.repo.app.req.token;

import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author wyl
 * @date 2022/12/19
 */
@Data
@ApiModel(value = "代币详情-交易记录请求对象", description = "代币详情-交易记录请求对象")
public class QueryTokenAssetsHistoryReq extends QueryReqBase {

    @NotBlank(message = "80205001")
    @ApiModelProperty(name = "tokenId", value = "代币id", required = true, example = "1")
    private String tokenId;
    @ApiModelProperty(name = "type", value = "交易类型(多个可逗号分割)", required = false, example = "1,2")
    private String type;

}
